/**
 * Created by luomingzhong on 17/4/30.
 */
'use strict';
const parse = require('../src/parse');
const should = require('should');
describe("parse", function(){
    it("can parse an integer", function(){
        let fn = parse('42');
        should.equal(typeof fn,'function');
        should.equal(fn(),42);
    });
});